package com.how2java.tmall.service;

import java.util.List;

import com.how2java.tmall.pojo.Productimage;

public interface ProductImageService {

	String type_single = "type_single";
    String type_detail = "type_detail";
 
    void add(Productimage pi);
    void delete(int id);
    void update(Productimage pi);
    Productimage get(int id);
    List<Productimage> list(int pid, String type);
}
